package com.hserver.beetlsql;

import cn.hserver.core.interfaces.HookAdapter;
import cn.hserver.core.ioc.annotation.Hook;

import java.lang.reflect.Method;

@Hook(Test.class)
public class TxHook implements HookAdapter {

    @Override
    public void before(Class aClass, Method method, Object[] objects) {
    }

    @Override
    public Object after(Class aClass, Method method, Object o) {
        return o;
    }

    @Override
    public void throwable(Class aClass, Method method, Throwable throwable) {

    }
}